from app import db


class Log(db.Model):
    _table_name = 'log'
    roomId = db.Column(db.Integer, nullable=False)
    time = db.Column(db.String, primary_key=True, nullable=False)
    reason = db.Column(db.String(255), nullable=False)
    video = db.Column(db.String, nullable=False)
